<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>CSS背景相关属性</title>
    <style type="text/css">
        /*body{
            background-image: url("image/1.jpg");
            background-repeat: no-repeat;
            background-position: 200px 200px;
        }*/
     div{
         width: 200px;
         height: 200px;
         background: #ced4dc url("image/1.jpg") no-repeat  center center;
     }
    </style>
</head>
<body>
    <div>

    </div>
</body>
</html>